package com.tarena.lbs.activity.dao.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tarena.lbs.activity.api.pojo.ActivityDto;
import com.tarena.lbs.activity.pojo.vo.ActivityVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface ActivityMapper extends BaseMapper<ActivityVO> {

    @Select("select * from tarena_lbs_activity.activity where id = #{activityId}")
    ActivityDto getActivityById(Integer activityId);
}
